#include <iostream>
#include <string>

//https://www.nowcoder.com/practice/167be62a4f66497dbf318617cd14f57d?tpId=225&tags=&title=&difficulty=0&judgeStatus=0&rp=0&sourceUrl=https%3A%2F%2Fwww.nowcoder.com%2Fexam%2Foj

using namespace std;

int main() {

    string s1, s2;
    getline(cin, s1);
    getline(cin, s2);

    // write your code here......
    cout << s1 + s2;

    return 0;
}



